<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Nixon : Profile</title>

    <!-- ================= Favicon ================== -->


    <!-- Styles -->
    <link th:href="@{/assets/fontAwesome/css/fontawesome-all.min.css}" rel="stylesheet">
    <link th:href="@{/assets/css/lib/themify-icons.css}" rel="stylesheet">
    <link th:href="@{/assets/css/lib/mmc-chat.css}" rel="stylesheet" />
    <link th:href="@{/assets/css/lib/sidebar.css}" rel="stylesheet">
    <link th:href="@{/assets/css/lib/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/assets/css/lib/nixon.css}" rel="stylesheet">
    <link th:href="@{/assets/css/style.css}" rel="stylesheet">

</head>

<body>

<div th:replace="index :: copy"></div>
<div th:replace="index :: copy1"></div>



<div class="content-wrap">
    <div class="main">
        <div class="container-fluid">

            <div class="row">
                <div class="col-lg-12">
                    <div class="card alert">
                        <div class="card-header">
                            <h4>进程管理 </h4>
                            <div class="card-header-right-icon">
                                <ul>
                                    <li class="card-close" data-dismiss="alert"><i class="ti-close"></i></li>
                                    <li class="card-option drop-menu"><i class="ti-settings" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" role="link"></i>
                                        <ul class="card-option-dropdown dropdown-menu">
                                            <li><a href="#"><i class="ti-loop"></i> Update data</a></li>
                                            <li><a href="#"><i class="ti-menu-alt"></i> Detail log</a></li>
                                            <li><a href="#"><i class="ti-pulse"></i> Statistics</a></li>
                                            <li><a href="#"><i class="ti-power-off"></i> Clear ist</a></li>
                                        </ul>
                                    </li>

                                </ul>
                            </div>
                        </div>
                        <div class="card-body">
                            <table class="table table-responsive table-hover ">
                                <thead>
                                <tr>
                                    <th>进程ID</th>
                                    <th>进程名称</th>
                                    <th>脚本类型</th>
                                    <th>scriptUrl</th>
                                    <th>入口程序名称</th>
                                    <th>运行状态</th>
                                    <th>在线编辑</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr th:each="allproc:${allProcList}">
                                    <td>[[${allproc.processId}]]</td>
                                    <td><span>[[${allproc.processName}]]</span></td>
                                    <td>[[${allproc.scriptType}]]</td>
                                    <td>[[${allproc.scriptUrl}]]</td>
                                    <td>[[${allproc.procName}]]</td>
                                    <td>[[${allproc.status}]]</td>
                                    <td class="color-danger"><a th:href="@{'/upLoad/scg_script/'+${allproc.procName}}">在线编辑</a></td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div><!-- /# column -->

            </div>     </div>

    </div><!-- /# container-fluid -->
</div><!-- /# main -->
</div><!-- /# content wrap -->






<script src="assets/js/lib/jquery.min.js"></script><!-- jquery vendor -->
<script src="assets/js/lib/jquery.nanoscroller.min.js"></script><!-- nano scroller -->
<script src="assets/js/lib/sidebar.js"></script><!-- sidebar -->
<script src="assets/js/lib/bootstrap.min.js"></script><!-- bootstrap -->
<script src="assets/js/lib/mmc-common.js"></script>
<script src="assets/js/lib/mmc-chat.js"></script>
<script src="assets/js/scripts.js"></script><!-- scripit init-->





</body>

</html>